package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;
import com.itheima.health.pojo.Setmeal;

import java.util.List;

/**
 * @author hm
 * @version 1.0
 * @date Created in 2024/7/13 17:17
 */
public interface CheckGroupService {
    PageResult findPage(QueryPageBean queryPageBean);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIds(Integer checkGroupId);


    List<CheckItem> findAll();
    void add(CheckGroup checkGroup, Integer[] ids);

    void update(CheckGroup checkGroup, Integer[] ids) ;


    void delete(Integer checkGroupId);


    List<CheckGroup> find();

    List<Integer> findSetmeal(Integer checkGroupId);
}
